package com.zl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author ljm
 * @Date 2021/12/9 11:52
 */
@Controller
public class HelloSpringBoot {
    @RequestMapping(method = RequestMethod.GET,value = "/hello")
    public String hello(){
        System.out.println("进入到控制器....");
        return "index";
    }
}
